Arduino Projects For Dummies by Brock Craft
Author: Brock Craft , Date: September 6, 2014
, Views: 935
const int strikePin = 9; // The pin that actuates the relay for the door strike
const int slaveSelect = 10; // Pin used to enable the slave pin on the MAX72xx
char code[4]= {'1','2','3','4'}; // Set your code here
char codeBuffer[4]; // Stores the code that currently is being entered
boolean DEBUG=true; // Set to true to print status messages to the serial port
int keypressCount=0; // Counts how many times a key has been pressed
// The keyMap defines the character returned when its key is pressed
const char keyMap[numRows][numCols] = {
{ '1', '2', '3' },
{ '4', '5', '6' },
{ '7', '8', '9' },
{ '*', '0', '#' }
};
Copyright Disclaimer:
This site does not store any files on its server. We only index and link
to content provided by other sites. Please contact the content providers
to delete copyright contents if any and email us, we'll remove relevant
links or contents immediately.